<script type="text/javascript">
    function do_open_layout(event, treeId, treeNode) {
        if (treeNode.isParent) {
            var zTree = $.fn.zTree.getZTreeObj(treeId)

            zTree.expandNode(treeNode)
            return
        }
        $(event.target).bjuiajax('doLoad', {url:treeNode.url, target:treeNode.divid})

        event.preventDefault()
    }
</script>
<div class="bjui-pageContent">
    <div style="float:left; width:200px;">
        <ul id="layout-tree" class="ztree" data-toggle="ztree" data-expand-all="true" data-on-click="do_open_layout">
            <li data-id="1" data-pid="0">消息管理</li>
            <li data-id="10" data-pid="1" data-url="{:addons_url('Wechat://AdminList/index')}" data-divid="#content">自动回复管理</li>
            <li data-id="11" data-pid="1" data-url="layout/layout-02.html" data-divid="#MessageManage">文本回复</li>
            <li data-id="12" data-pid="1" data-url="layout/layout-02.html" data-divid="#MessageManage">图文回复</li>
            <li data-id="13" data-pid="1" data-url="layout/layout-02.html" data-divid="#MessageManage">多图文回复</li>
            <li data-id="2" data-pid="0">微信菜单</li>
            <li data-id="20" data-pid="2" data-url="{:addons_url('Wechat://AdminList/createMenu', array('type'=>'local'))}" data-divid="#content">本地微信菜单</li>
            <li data-id="20" data-pid="2" data-url="{:addons_url('Wechat://AdminList/createMenu', array('type'=>'wechat'))}" data-divid="#content">服务器微信菜单</li>
        </ul>
    </div>
    <div style="height:99.9%; overflow:hidden;padding:0px;">
        <div style="height:100%; overflow:hidden;">
            <fieldset style="height:100%;overflow:visible;margin:0px;padding:0px;" id="content">
                <!-- 显示内容 -->
            </fieldset>
        </div>
    </div>
</div>